package net.sourceforge.openclixml;


/**
 * This exception is thrown if the Clixml schema cannot be evaluated.
 * @version $Revision: 39 $
 * @author dominikjungo
 *
 * Last changed: $Date: 2008-01-22 21:38:51 +0100 (Tue, 22 Jan 2008) $
 * The License for this file can be found in doc/Licenses/license-OpenCliXML.txt
 */
public class EvaluationFailedException extends ClixmlException {
    /**
     * Creates a new Exception with a message why evaluation failed. This message should not be based on another exception. Otherwise the constructor with Exception should be used. @see EvaluationFailedException(String , Exception )
     * @param message The reason why the evaluation failed.
     */
    public EvaluationFailedException(final String message) {
        super(message);
    }

    /**
     * Creates a new Exception with a message and an exception why evaluation failed. The exception is an exception that could not be treaded locally and is so forwarded within this exception.
     * @param message The reason why the evaluation failed.
     * @param e The exception that could not be treaded
     */
    public EvaluationFailedException(final String message, final Exception e) {
        super(message, e);
    }
}
